<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/10/13
  Time: 14:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
b1
<%
    request.setAttribute("A","aaa");
    request.setAttribute("B","bbb");
    request.removeAttribute("A");
    request.setAttribute("B","ccc");
    request.getRequestDispatcher("b2.jsp").forward(request,response);
    //response.sendRedirect("b2.jsp");
%>
</body>
</html>
